package data
{
	import datastructure.Edge;
	import datastructure.HTNode;
	import datastructure.Vertex;

	public class Helper
	{
		/* 顶点数组*/
		public static var vertexArray:Array = new Array(
			new Vertex(0,"a"),
			new Vertex(1,"b"),
			new Vertex(2,"c"),
			new Vertex(3,"d"),
			new Vertex(4,"e"),
			new Vertex(5,"f")
		);
		
		/* 边数组*/
		public static var edgeArray:Array = new Array(
			new Edge(vertexArray[0],vertexArray[1],3),
			new Edge(vertexArray[0],vertexArray[5],5),
			new Edge(vertexArray[0],vertexArray[4],6),
			new Edge(vertexArray[1],vertexArray[2],1),
			new Edge(vertexArray[1],vertexArray[5],4),
			new Edge(vertexArray[2],vertexArray[3],6),
			new Edge(vertexArray[2],vertexArray[5],4),
			new Edge(vertexArray[3],vertexArray[5],5),
			new Edge(vertexArray[3],vertexArray[4],8),
			new Edge(vertexArray[4],vertexArray[5],2)
		);
		
		
		/* 顶点的位置数据*/
		public static var positions:Array = new Array(
			{x:72,y:146},
			{x:117,y:62},
			{x:236,y:62},
			{x:273,y:146},
			{x:171,y:233},
			{x:171,y:146}	
		);
		
		public static var oriValHTNodes:Array = new Array(
			{name:"A:0.35",probability:0.35},
			{name:"B:0.1",probability:0.1},
			{name:"C:0.2",probability:0.2},
			{name:"D:0.2",probability:0.2},
			{name:"_:0.15",probability:0.15}
				
		);
		
		
		public function Helper()
		{
		}
		
	}
}